<?php
$this->breadcrumbs=array(
	'品牌列表'=>array('admin'),
	$model->moeb_name,
);

$this->menu=array(
	array('label'=>'增加品牌', 'url'=>array('create')),
	array('label'=>'修改', 'url'=>array('update', 'id'=>$model->moeb_id)),
	array('label'=>'删除', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->moeb_id),'confirm'=>'你确定要删除该品牌?')),
	array('label'=>'品牌列表', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->moeb_name; ?></h1>

<?php

$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'moeb_id',
		//'moeb_order',
		'moeb_name',
		'moeb_is_recomment',
		array('label' => '商标',
			  'name'  => 'moeb_log',
			  'type'=>'raw',
			  'value' => CHtml::image($model->moeb_log,'' ,array('width'=>'100px')),
			),
	),
)); ?>
<!--
<table class="detail-view" id="yw0"><tr class="odd"><th>品牌名称</th><td><?php echo $model->moeb_name; ?></td></tr>
<tr class="even"><th>品牌log</th><td><?php if(!$model->moeb_log){echo '<img src="$model->moeb_log"/>';} ?></td></tr>
<tr class="odd"><th>是否为推荐品牌</th><td><?php if($model->moeb_is_recomment){echo '是' ;}else{echo '否' ;}?></td></tr>
</table>	
-->
